package com.dong.springaop.advice;

import org.springframework.aop.ThrowsAdvice;

/**
 * description
 *
 * @author Administrator 2021/09/13 19:04
 */
public class MyThrowAdvice implements ThrowsAdvice {

    public void afterThrowing(Exception exception){
        System.out.println(exception);
    }
}
